package com.lone.demo.adstractfactory;

public class Rest {
    public static void main(String[] args) {
        String str = "00000101";
        System.out.println(String.format("%08d", Integer.parseInt(str) + 1));
    }
}
